<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<p:panel header="ModoDebug - mostra o ID"
		rendered="#{pManagedBean.isModoDebug}">
		<h:panelGrid columns="4">
			<h:outputLabel for="id" value="Id" />
			<p:inputText disabled="true" id="id" title="Id do objeto" label="Id"
				value="#{pManagedBean.objetoPrincipal.entityId}" required="true"
				size="20" />
			<p:watermark for="id" value="" />
			<p:message for="id" />
		</h:panelGrid>
	</p:panel>

	<ui:insert name="camposDoFormulario">Insira o conteudo do formulário aqui </ui:insert>

</ui:composition>

</html>